home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _E92F4E4A08194B5EBA672FD77CC3337A < prev    next >
Encoding:
Text File  |  2006-08-04  |  935 b   |  30 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.10'
  10.         }
  11.  
  12. def Preset_Halftone():
  13.     return {
  14.         'BackgroundColor': (255,255,255), 
  15.         'ColorScheme': App.Constants.ColorScheme.Greyscale, 
  16.         'HalftonePattern': App.Constants.HalftonePattern.Square, 
  17.         'Overlay': App.Constants.Boolean.true, 
  18.         'OverlayBlendMode': App.Constants.BlendMode.Normal, 
  19.         'OverlayOpacity': 50, 
  20.         'PatternColor': (0,0,0), 
  21.         'ScreenAngles': (100,162,90), 
  22.         'Size': 20, 
  23.         'TransparentBackground': App.Constants.Boolean.true
  24.         }
  25.  
  26. def Do(Environment):
  27.     # Halftone
  28.     App.Do( Environment, 'Halftone',         Preset_Halftone())
  29.  
  30.